package com.ruoyi.common.weChatRobot.autoconfiggure;


import com.ruoyi.common.weChatRobot.template.QicqMailTemplate;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.javamail.JavaMailSender;


/**
 * 腾讯自动配置
 *
 * @author 陈立高
 * @date 2024/03/25
 */
@Configuration
public class TencentAutoConfiguration {
    @Bean
    public QicqMailTemplate qicqMailTemplate(JavaMailSender mailSender) {
        return new QicqMailTemplate(mailSender);
    }


}
